package com.aaa.common.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 考核结果表
 * </p>
 *
 * @author wang
 * @since 2020-08-05
 */
@TableName("tb_assessment_result")
public class TbAssessmentResult extends Model<TbAssessmentResult> {

    private static final long serialVersionUID = 1L;

    /**
     * 考核结果主键
     */
    @TableId(value = "tb_ar_id", type = IdType.AUTO)
    private Integer tbArId;
    /**
     * 培训人员名称
     */
    @TableField("user_id")
    private String userId;
    /**
     * 培训师
     */
    @TableField("tb_trainer_id")
    private String tbTrainerId;

    /**
     * 考试成绩
     */
    @TableField("tb_ar_examination")
    private Integer tbArExamination;
    /**
     * 0 培训中 ；1 通过 
     */
    private Integer status;
    /**
     * 开始时间
     */
    @TableField("start_time")
    private String startTime;
    /**
     * 结束时间
     */
    @TableField("end_time")
    private String endTime;


    public Integer getTbArId() {
        return tbArId;
    }

    public void setTbArId(Integer tbArId) {
        this.tbArId = tbArId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTbTrainerId() {
        return tbTrainerId;
    }

    public void setTbTrainerId(String tbTrainerId) {
        this.tbTrainerId = tbTrainerId;
    }

    public Integer getTbArExamination() {
        return tbArExamination;
    }

    public void setTbArExamination(Integer tbArExamination) {
        this.tbArExamination = tbArExamination;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.tbArId;
    }

    @Override
    public String toString() {
        return "TbAssessmentResult{" +
        "tbArId=" + tbArId +
        ", userId=" + userId +
        ", tbTrainerId=" + tbTrainerId +
        ", tbArExamination=" + tbArExamination +
        ", status=" + status +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        "}";
    }
}
